<?php
class retrieve_sitemap_admin extends retrieve_base{

	private $module_display_options 	= array(
	);

	/**
	* function produces abstract structure of modules db structure
	*
    * used to generate the table structure required abstract function that passes an abstract
	* representation of the desired table structure to the proper database module which will
	* interpet the abstract and convert it into a valid SQL Create table structure.
	*
	* @return Array list of abstract table definitions for this module
	*/
	function create_table(){
		$tables = array();
		/**
		* Table structure for 'sitemap_data'
		*/
		
		$fields = array(
			array("sitemap_identifier"					,"unsigned integer"			,"NOT NULL"	,"auto_increment"),
			array("sitemap_client"						,"unsigned integer"			,"NOT NULL"	,"default '0'"),
			array("sitemap_display_options"				,"unsigned integer"			,"NOT NULL"	,"default '0'"),
			array("sitemap_created"						,"DATETIME"					,"NOT NULL"	,"default ''"),
			array("sitemap_showhidden"					,"unsigned small integer"	,"NOT NULL"	,"default '0'")
		);
		
		$primary ="sitemap_identifier";
		$tables[count($tables)] = array("sitemap_data", $fields, $primary);
		/**
		* Table structure for 'sitemap_menu'
		-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
		
		$fields = array(
			array("sitemapmenu_identifier"					,"unsigned integer"	,"NOT NULL"	,"auto_increment"),
			array("sitemapmenu_client"						,"unsigned integer"	,"NOT NULL"	,"default '0'"),
			array("sitemapmenu_menu"						,"unsigned integer"	,"NOT NULL"	,"default '0'")
		);
		
		$primary ="sitemapmenu_identifier";
		$tables[count($tables)] = array("sitemap_menu", $fields, $primary);
		*/
		return $tables;
	}
}
?>